package comgutianyu.qihangjiaoyu.model;

public class User {
    private int id;
    private String nickname;
    private String username;
    private String phone;
    private String gender;
    private String examIntention;
    private String avatarPath;
    private String password;

    // 构造函数
    public User() {}

    public User(String nickname, String username, String phone, String password, String gender, String examIntention) {
        this.nickname = nickname;
        this.username = username;
        this.phone = phone;
        this.password = password;
        this.gender = gender;
        this.examIntention = examIntention;
    }

    // Getter和Setter方法
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getExamIntention() {
        return examIntention;
    }

    public void setExamIntention(String examIntention) {
        this.examIntention = examIntention;
    }

    public String getAvatarPath() {
        return avatarPath;
    }

    public void setAvatarPath(String avatarPath) {
        this.avatarPath = avatarPath;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
} 